package com.gxa.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class CommunityDto {
    private Integer cid;

    private String cname;
    private String creator;
    private String managers;



    public CommunityDto(Integer cid, String cname, String creator, String managers) {
        this.cid = cid;
        this.cname = cname;
        this.creator = creator;
        this.managers = managers;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getManagers() {
        return managers;
    }

    public void setManagers(String managers) {
        this.managers = managers;
    }

    @Override
    public String toString() {
        return "CommunityDto{" +
                "cid=" + cid +
                ", cname='" + cname + '\'' +
                ", creator='" + creator + '\'' +
                ", managers='" + managers + '\'' +
                '}';
    }
}
